package com.mingmen.canting.model;

import java.util.List;

public class GongYingDetailLeft {

    /**
     * categoryId : 1
     * categoryName : 新鲜蔬菜
     * commodious : [{"commodityId":"1294151127608606720","commodityName":"菠菜","defaultSupplier":"第一家供应商","difference":0,"isDefault":"2","picture":"/uploadimg/2020-08-14/5f3c0f70-ccf1-4ad7-ac9b-55f1803e81f3.jpeg","price":0,"sales":0,"spec":"1","supplierId":"1309310383915540480"},{"commodityId":"1294151708419047424","commodityName":"土豆","defaultSupplier":"","difference":0,"isDefault":"0","picture":"/uploadimg/2020-08-14/c221c251-d99c-42dd-8814-372577d0d3d7.jpeg","price":0,"sales":0,"spec":"1","supplierId":"1309310383915540480"},{"commodityId":"1309787106931122176","commodityName":"葡萄酒","defaultSupplier":"","difference":0,"isDefault":"0","picture":"","price":0,"sales":0,"spec":"600g","supplierId":"1309310383915540480"}]
     * secondCategories : [{"categoryId":"1","categoryName":"叶菜类","commodious":[{"commodityId":"1294151127608606720","commodityName":"菠菜","defaultSupplier":"第一家供应商","difference":0,"isDefault":"2","picture":"/uploadimg/2020-08-14/5f3c0f70-ccf1-4ad7-ac9b-55f1803e81f3.jpeg","price":0,"sales":0,"spec":"1","supplierId":"1309310383915540480"},{"commodityId":"1294151708419047424","commodityName":"土豆","defaultSupplier":"","difference":0,"isDefault":"0","picture":"/uploadimg/2020-08-14/c221c251-d99c-42dd-8814-372577d0d3d7.jpeg","price":0,"sales":0,"spec":"1","supplierId":"1309310383915540480"}]},{"categoryId":"1","categoryName":"酒","commodious":[{"commodityId":"1309787106931122176","commodityName":"葡萄酒","defaultSupplier":"","difference":0,"isDefault":"0","picture":"","price":0,"sales":0,"spec":"600g","supplierId":"1309310383915540480"}]}]
     */

    private String categoryId;
    private String categoryName;
    private List<CommodiousBean> commodious;
    private List<SecondCategoriesBean> secondCategories;

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public List<CommodiousBean> getCommodious() {
        return commodious;
    }

    public void setCommodious(List<CommodiousBean> commodious) {
        this.commodious = commodious;
    }

    public List<SecondCategoriesBean> getSecondCategories() {
        return secondCategories;
    }

    public void setSecondCategories(List<SecondCategoriesBean> secondCategories) {
        this.secondCategories = secondCategories;
    }

    public static class CommodiousBean {
        /**
         * commodityId : 1294151127608606720
         * commodityName : 菠菜
         * defaultSupplier : 第一家供应商
         * difference : 0
         * isDefault : 2
         * picture : /uploadimg/2020-08-14/5f3c0f70-ccf1-4ad7-ac9b-55f1803e81f3.jpeg
         * price : 0
         * sales : 0
         * spec : 1
         * supplierId : 1309310383915540480
         */

        private String commodityId;
        private String commodityName;
        private String defaultSupplier;
        private int difference;
        private String isDefault;
        private String picture;
        private String price;
        private int sales;
        private String spec;
        private String supplierId;

        public String getCommodityId() {
            return commodityId;
        }

        public void setCommodityId(String commodityId) {
            this.commodityId = commodityId;
        }

        public String getCommodityName() {
            return commodityName;
        }

        public void setCommodityName(String commodityName) {
            this.commodityName = commodityName;
        }

        public String getDefaultSupplier() {
            return defaultSupplier;
        }

        public void setDefaultSupplier(String defaultSupplier) {
            this.defaultSupplier = defaultSupplier;
        }

        public int getDifference() {
            return difference;
        }

        public void setDifference(int difference) {
            this.difference = difference;
        }

        public String getIsDefault() {
            return isDefault;
        }

        public void setIsDefault(String isDefault) {
            this.isDefault = isDefault;
        }

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getSales() {
            return sales;
        }

        public void setSales(int sales) {
            this.sales = sales;
        }

        public String getSpec() {
            return spec;
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }

        public String getSupplierId() {
            return supplierId;
        }

        public void setSupplierId(String supplierId) {
            this.supplierId = supplierId;
        }
    }

    public static class SecondCategoriesBean {
        /**
         * categoryId : 1
         * categoryName : 叶菜类
         * commodious : [{"commodityId":"1294151127608606720","commodityName":"菠菜","defaultSupplier":"第一家供应商","difference":0,"isDefault":"2","picture":"/uploadimg/2020-08-14/5f3c0f70-ccf1-4ad7-ac9b-55f1803e81f3.jpeg","price":0,"sales":0,"spec":"1","supplierId":"1309310383915540480"},{"commodityId":"1294151708419047424","commodityName":"土豆","defaultSupplier":"","difference":0,"isDefault":"0","picture":"/uploadimg/2020-08-14/c221c251-d99c-42dd-8814-372577d0d3d7.jpeg","price":0,"sales":0,"spec":"1","supplierId":"1309310383915540480"}]
         */

        private String categoryId;
        private String categoryName;
        private List<CommodiousBeanX> commodious;

        public String getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(String categoryId) {
            this.categoryId = categoryId;
        }

        public String getCategoryName() {
            return categoryName;
        }

        public void setCategoryName(String categoryName) {
            this.categoryName = categoryName;
        }

        public List<CommodiousBeanX> getCommodious() {
            return commodious;
        }

        public void setCommodious(List<CommodiousBeanX> commodious) {
            this.commodious = commodious;
        }

        public static class CommodiousBeanX {
            /**
             * commodityId : 1294151127608606720
             * commodityName : 菠菜
             * defaultSupplier : 第一家供应商
             * difference : 0
             * isDefault : 2
             * picture : /uploadimg/2020-08-14/5f3c0f70-ccf1-4ad7-ac9b-55f1803e81f3.jpeg
             * price : 0
             * sales : 0
             * spec : 1
             * supplierId : 1309310383915540480
             */

            private String commodityId;
            private String commodityName;
            private String defaultSupplier;
            private int difference;
            private String isDefault;
            private String picture;
            private String price;
            private int sales;
            private String spec;
            private String supplierId;

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            private boolean isSelect;

            public String getCommodityId() {
                return commodityId;
            }

            public void setCommodityId(String commodityId) {
                this.commodityId = commodityId;
            }

            public String getCommodityName() {
                return commodityName;
            }

            public void setCommodityName(String commodityName) {
                this.commodityName = commodityName;
            }

            public String getDefaultSupplier() {
                return defaultSupplier;
            }

            public void setDefaultSupplier(String defaultSupplier) {
                this.defaultSupplier = defaultSupplier;
            }

            public int getDifference() {
                return difference;
            }

            public void setDifference(int difference) {
                this.difference = difference;
            }

            public String getIsDefault() {
                return isDefault;
            }

            public void setIsDefault(String isDefault) {
                this.isDefault = isDefault;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getSales() {
                return sales;
            }

            public void setSales(int sales) {
                this.sales = sales;
            }

            public String getSpec() {
                return spec;
            }

            public void setSpec(String spec) {
                this.spec = spec;
            }

            public String getSupplierId() {
                return supplierId;
            }

            public void setSupplierId(String supplierId) {
                this.supplierId = supplierId;
            }
        }
    }
}
